<?php
/**
 * 菜单信息
 */
$module_name = 'canteen';
return [
    [
        'title'       => '食堂模管理',
        'icon'        => 'fa fa-fw fa-newspaper-o',
        'url_type'    => 'module_admin',
        'url_value'   => $module_name.'/index/index',
        'url_target'  => '_self',
        'online_hide' => 0,
        'sort'        => 100,
        'child'       => [
            [
                'title'       => '仪表盘(中)',
                'icon'        => 'fa fa-fw fa-tachometer',
                'url_type'    => 'module_admin',
                'url_value'   => $module_name.'/index/index',
                'url_target'  => '_self',
                'online_hide' => 0,
                'sort'        => 100,
            ],
            [
                'title'       => '企业管理',
                'icon'        => 'fa fa-fw fa-sliders',
                'url_type'    => 'module_admin',
                'url_value'   => '',
                'url_target'  => '_self',
                'online_hide' => 0,
                'sort'        => 100,
                'child'       => [
                    [
                       'title'       => '部门管理',
                       'icon'        => 'fa fa-fw fa-list',
                       'url_type'    => 'module_admin',
                       'url_value'   => $module_name.'/st_dept/index',
                       'url_target'  => '_self',
                       'online_hide' => 0,
                       'sort'        => 100,
                       'child'       => [
                           [
                               'title'       => '新增',
                               'icon'        => '',
                               'url_type'    => 'module_admin',
                               'url_value'   => $module_name.'/st_dept/add',
                               'url_target'  => '_self',
                               'online_hide' => 0,
                               'sort'        => 100,
                           ],
                           [
                               'title'       => '编辑',
                               'icon'        => '',
                               'url_type'    => 'module_admin',
                               'url_value'   => $module_name.'/st_dept/edit',
                               'url_target'  => '_self',
                               'online_hide' => 0,
                               'sort'        => 100,
                           ],
                           [
                               'title'       => '删除',
                               'icon'        => '',
                               'url_type'    => 'module_admin',
                               'url_value'   => $module_name.'/st_dept/delete',
                               'url_target'  => '_self',
                               'online_hide' => 0,
                               'sort'        => 100,
                           ],
                           [
                               'title'       => '启用',
                               'icon'        => '',
                               'url_type'    => 'module_admin',
                               'url_value'   => $module_name.'/st_dept/enable',
                               'url_target'  => '_self',
                               'online_hide' => 0,
                               'sort'        => 100,
                           ],
                           [
                               'title'       => '禁用',
                               'icon'        => '',
                               'url_type'    => 'module_admin',
                               'url_value'   => $module_name.'/st_dept/disable',
                               'url_target'  => '_self',
                               'online_hide' => 0,
                               'sort'        => 100,
                           ],

                       ],
                   ],
                    [
                        'title'       => '用户列表',
                        'icon'        => 'fa fa-fw fa-map-signs',
                        'url_type'    => 'module_admin',
                        'url_value'   => $module_name.'/st_user/index',
                        'url_target'  => '_self',
                        'online_hide' => 0,
                        'sort'        => 100,
                        'child'       => [
                            [
                                'title'       => '新增',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_user/add',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                            [
                                'title'       => '编辑',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_user/edit',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                            [
                                'title'       => '删除',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_user/delete',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                            [
                                'title'       => '启用',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_user/enable',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                            [
                                'title'       => '禁用',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_user/disable',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                            [
                                'title'       => '快速编辑',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_user/quickedit',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                        ],
                    ],

                ],
            ],
            [
                'title'       => '食堂管理',
                'icon'        => 'fa fa-fw fa-money',
                'url_type'    => 'module_admin',
                'url_value'   => '',
                'url_target'  => '_self',
                'online_hide' => 0,
                'sort'        => 100,
                'child'       =>[
                    [
                        'title'       => '预约列表',
                        'icon'        => 'fa fa-fw fa-list',
                        'url_type'    => 'module_admin',
                        'url_value'   => $module_name.'/st_reservation/index',
                        'url_target'  => '_self',
                        'online_hide' => 0,
                        'sort'        => 100,
                        'child'       => [
                            [
                                'title'       => '新增',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_reservation/add',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                            [
                                'title'       => '编辑',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_reservation/edit',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                            [
                                'title'       => '删除',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_reservation/delete',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                            [
                                'title'       => '启用',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_reservation/enable',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                            [
                                'title'       => '禁用',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_reservation/disable',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                            [
                                'title'       => '导出',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_reservation/excel',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                        ],
                    ],
                    [
                        'title'       => '卡片列表',
                        'icon'        => 'fa fa-fw fa-list',
                        'url_type'    => 'module_admin',
                        'url_value'   => $module_name.'/st_card/index',
                        'url_target'  => '_self',
                        'online_hide' => 0,
                        'sort'        => 100,
                        'child'       => [
                            [
                                'title'       => '新增',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_card/add',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                            [
                                'title'       => '编辑',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_card/edit',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                            [
                                'title'       => '删除',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_card/delete',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                            [
                                'title'       => '启用',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_card/enable',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                            [
                                'title'       => '禁用',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_card/disable',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                            [
                                'title'       => '详情',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_card/details',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],
                            [
                                'title'       => '批量充值',
                                'icon'        => '',
                                'url_type'    => 'module_admin',
                                'url_value'   => $module_name.'/st_card/recharge',
                                'url_target'  => '_self',
                                'online_hide' => 0,
                                'sort'        => 100,
                            ],

                        ],
                    ],
                ],
            ],


            [
                'title'       => '系统设置',
                'icon'        => 'fa fa-fw fa-gear',
                'url_type'    => 'module_admin',
                'url_value'   => $module_name.'/st_config/index',
                'url_target'  => '_self',
                'online_hide' => 0,
                'sort'        => 100,
                'child'       => [
                    [
                        'title'       => '新增',
                        'icon'        => '',
                        'url_type'    => 'module_admin',
                        'url_value'   => $module_name.'/st_config/index',
                        'url_target'  => '_self',
                        'online_hide' => 0,
                        'sort'        => 100,
                    ],
                ],
            ],
        ],
    ],
];
